package com.zhdl.modules.common.production.service;

import com.project.common.service.BaseService;
import com.zhdl.modules.common.production.entity.ProductionRecord;
import com.zhdl.modules.common.production.repository.ProductionRecordRepository;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

public interface ProductionRecordService extends BaseService<ProductionRecord, Integer> {
    ProductionRecord findByCreateDateLikeAndStatus(String createDate,Integer status);
    int updateStatusAll();

    List<ProductionRecord> findByCreateDateLike(String createDate);

    int updateProductionById(int Id,int productionOutput);

    ProductionRecord findByCreateDateAndStatus(String createDate,Integer status);

    List<Map<String,String>> findByAll();
}
